package com.example.minademo.dao;

import com.example.minademo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;


public interface UserDao extends JpaRepository<User,Integer> {

    User findByNameAndAndPassword(String name,String password);

    User findUserByName(String name);

}
